package com.example.entity;

import java.math.BigDecimal;
import java.util.Date;

public class decrease {
    private String name;
    private BigDecimal price;
    private BigDecimal decreaseAmount;
    private BigDecimal decreasePercentage;
    private Date date;

    public decrease() {}

    public decrease(String name, BigDecimal price, BigDecimal decreaseAmount,
                    BigDecimal decreasePercentage, Date date) {
        this.name = name;
        this.price = price;
        this.decreaseAmount = decreaseAmount;
        this.decreasePercentage = decreasePercentage;
        this.date = date;
    }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public BigDecimal getPrice() { return price; }
    public void setPrice(BigDecimal price) { this.price = price; }

    public BigDecimal getDecreaseAmount() { return decreaseAmount; }
    public void setDecreaseAmount(BigDecimal decreaseAmount) { this.decreaseAmount = decreaseAmount; }

    public BigDecimal getDecreasePercentage() { return decreasePercentage; }
    public void setDecreasePercentage(BigDecimal decreasePercentage) { this.decreasePercentage = decreasePercentage; }

    public Date getDate() { return date; }
    public void setDate(Date date) { this.date = date; }
}
